package com.kuaiyiwang.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackServcie implements  PaymentHystrixService {

    @Override
    public String paymentInfo_ok(Integer id) {
        return "--PaymentFallbackServcie fall back-paymentInfo_ok ";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "--PaymentFallbackServcie fall back-paymentInfo_timeout";
    }
}
